<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>checkout</title>
    <link rel="stylesheet" href="/internship_tp/Application/Home/View/Public/style/style.css">
    <script type="text/javascript" src="/internship_tp/Application/Home/View/Public/js/jquery.min.js"></script>
    <script type="text/javascript" src="/internship_tp/Application/Home/View/Public/js/main.js"></script>
    <script type="text/javascript" src="/internship_tp/Application/Home/View/Public/js/Calculate.js"></script>
    <script type="text/javascript" src="/internship_tp/Application/Home/View/Public/js/ajaxChange.js"></script>
    <style>
        .set_image_all {
            cursor: pointer;
            position: relative;
        }

        .set_image_all .set_image_item {
            position: relative;
            display: inline-block;
            z-index: 11;
            visibility: visible;
        }

        .set_image_all .set_image_top {
            position: absolute;
            left: 0;
            top: 0;
            z-index: 10;
        }

        .set_image_all .set_image_top>div {
            display: inline-block;
            overflow: hidden;
        }

        .set_image_all .set_image_top>div>img {
            height: 100%;
        }

        .grade {
            vertical-align: top;
        }
    </style>
</head>
<body style="background:#F5F5F5;">
<script type="text/javascript" src="/internship_tp/Application/Home/View/Public/js/requ.js"></script>
<div class="checkout-header">
    <span></span>
    <h1>商品评价</h1>
    <p>温馨提示：请对您购买的商品进行评价。</p>
    <a href="javascript:;">我的订单</a>
    <ul>
        <a href="javascript:;">464845645</a>
        <li><a href="javascript:;">个人中心</a></li>
        <li><a href="javascript:;">退出登录</a></li>
    </ul>
</div>

<div class="checkout-container">
    <table class="table">
        <thead>
        <tr>
            <th>商品图片</th>
            <th>商品信息</th>
            <th>单价</th>
            <th>数量</th>
            <th>小计</th>
            <th>评分</th>
        </tr>
        </thead>
        <tbody>
        <?php if(is_array($car)): foreach($car as $ck=>$cv): ?><tr>
                <td>
                    <img src="/internship_tp/Application/Public/Uploads/<?php echo ($cv["photourl"]); echo ($cv["photoname"]); ?>" alt="" style="width: 80px;height: 80px">
                </td>
                <td>
                    <p><?php echo ($cv["name"]); ?>&nbsp;&nbsp;&nbsp;<?php echo ($cv["content"]); ?>&nbsp;&nbsp;&nbsp;<?php echo ($cv["color"]); ?></p>
                </td>
                  <td>
                    <span><?php echo ($cv["unit"]); ?>元</span>
                </td>
                <td>
                    <span><?php echo ($cv["count"]); ?></span>
                </td>
                <td><span class="checkout-total" id=""><?php echo ($cv["price"]); ?>元</span></td>
                <td>
                    <div class="star_grade" id="sa<?php echo ($ck); ?>">
                    </div>
                </td>
            </tr><?php endforeach; endif; ?>
        </tbody>
    </table>

    <form action="" method="post">
        <div class="balance">
            <input type="submit" name="submit" value="确认评价">
        </div>
    </form>


</div>
<div class="footer">
    <div class="footer-top">
	<ul>
		<li><a href="javascript:;">预约维修服务</a></li>
		<li><a href="javascript:;">7天无理由退货</a></li>
		<li><a href="javascript:;">15天免费换货</a></li>
		<li><a href="javascript:;">满150元包邮</a></li>
		<li><a href="javascript:;">520余家售后网点</a></li>
	</ul>
</div>
<div class="footer-center">
	<div class="footer-left">
		<ul>
			<span>帮助中心</span>
			<li><a href="javascript:;">账户管理</a></li>
			<li><a href="javascript:;">购物指南</a></li>
			<li><a href="javascript:;">订单操作</a></li>
		</ul>
		<ul>
			<span>服务支持</span>
			<li><a href="javascript:;">售后政策</a></li>
			<li><a href="javascript:;">自主服务</a></li>
			<li><a href="javascript:;">相关下载</a></li>
		</ul>
		<ul>
			<span>线下门店</span>
			<li><a href="javascript:;">小米之家</a></li>
			<li><a href="javascript:;">服务网点</a></li>
			<li><a href="javascript:;">零售网点</a></li>
		</ul>
		<ul>
			<span>关于小米</span>
			<li><a href="javascript:;">了解小米</a></li>
			<li><a href="javascript:;">加入小米</a></li>
			<li><a href="javascript:;">联系我们</a></li>
		</ul>
		<ul>
			<span>关注我们</span>
			<li><a href="javascript:;">新浪微博</a></li>
			<li><a href="javascript:;">小米部落</a></li>
			<li><a href="javascript:;">官方微信</a></li>
		</ul>
		<ul>
			<span>特色服务</span>
			<li><a href="javascript:;">F码通道</a></li>
			<li><a href="javascript:;">礼物码</a></li>
			<li><a href="javascript:;">防伪查询</a></li>
		</ul>
	</div>
	<div class="footer-right">
		<span>400-100-5678</span>
		<p>周一至周日8:00-18:00</p>
		<p>(仅收市话费)</p>
		<a href="javascript:;">24小时在线客服</a>
	</div>
</div>
<div class="footer-bottom">
	<span></span>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<a href="javascript:;">小米商城</a>
	<p>©mi.com 京ICP证110507号 京ICP备10046444号 京公网安备11010802020134号 京网文[2014]0059-0009号
违法和不良信息举报电话：185-0130-1238，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试</p>
</div>
</div>
<script src="/internship_tp/Application/Home/View/Public/js_xx/markingSystem.js"></script>
<script>
    $(".star_grade").markingSystem({
        num: 5,
        havePoint: false,
        haveGrade: true,
        unit: '星',
        grade: 0,
        height: 20,
        width: 20,
    })
</script>
</body>
</html>